home *** CD-ROM | disk | FTP | other *** search
/ Flybox Trout (Edition 1) / Flybox Trout (Edition 1).iso / Setup / Support / FlyBox.swf / scripts / DefineButton2_390 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2002-04-15  |  447 b   |  24 lines

  1. on(release){
  2.    if(eval("_root:SoundOff") == 0)
  3.    {
  4.       tellTarget("_root.ButtonPress")
  5.       {
  6.          gotoAndPlay(2);
  7.       }
  8.    }
  9.    if(75 < getProperty(_root, _currentframe))
  10.    {
  11.       tellTarget(_root)
  12.       {
  13.          Stage = 3;
  14.          a = 0;
  15.          while(5 >= a)
  16.          {
  17.             set("Main.Main" + a + ":Main","Main" + a + "_Main");
  18.             a++;
  19.          }
  20.          gotoAndStop(68);
  21.       }
  22.    }
  23. }
  24.